package com.smarthome.domain.mobile.req;

import com.smarthome.domain.mobile.MobileRequest;

public class MobileCommonRequest extends MobileRequest {

    private static final long serialVersionUID = 1L;
    private Long bannerId;
    private Long goodId;
    private Long residenceId;

    public Long getBannerId() {
        return bannerId;
    }

    public void setBannerId(Long bannerId) {
        this.bannerId = bannerId;
    }

    public Long getGoodId() {
        return goodId;
    }

    public void setGoodId(Long goodId) {
        this.goodId = goodId;
    }

    public Long getResidenceId() {
        if(null==residenceId)residenceId=0L;
        return residenceId;
    }

    public void setResidenceId(Long residenceId) {
        this.residenceId = residenceId;
    }

    @Override
    public boolean isLogined() {
        return false;
    }

}
